/*
 * @Descripttion: 元祖转string
 * @Author: ziwei
 * @Date: 2022-09-08 17:38:23
 * @LastEditors: ziwei
 * @LastEditTime: 2022-09-08 18:03:34
 */
export default {}

type TupleToString<T,A extends string=''> = T extends [infer L,...infer R]?L extends string?TupleToString<R,`${A}${L}`>:never:A

type A = TupleToString<['a','b','c']>
type B = TupleToString<['']>
type C = TupleToString<['a']>